package org.szy.plugin.sys.entity;

import com.mybatisflex.annotation.Table;
import com.mybatisflex.annotation.Column;
import org.szy.core.common.entity.BaseEntity;
import org.szy.core.common.listener.BaseInsertListener;
import org.szy.core.common.listener.BaseUpdateListener;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 系统组织实体
 *
 * @author wangbuhao
 * @since 2023-06-18 17:12:42
 **/
@Table(value = "sys_org", onInsert = BaseInsertListener.class, onUpdate = BaseUpdateListener.class)
public class SysOrg extends BaseEntity {

    /** pid */
    private Long pid;
    /** pids */
    private String pids;
    /** 组织名称 */
    private String name;
    /** 组织代码 */
    private String code;
    /** 负责人 */
    private String leader;
    /** 联系电话 */
    private String phone;
    /** 邮箱 */
    private String email;
    /** 排序 */
    private Integer sort;
    /** 状态（1-启用，0-停用） */
    private Integer status;

    public Long getPid() {
        return pid;
    }
    public void setPid(Long pid) {
        this.pid = pid;
    }
    public String getPids() {
        return pids;
    }
    public void setPids(String pids) {
        this.pids = pids;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getLeader() {
        return leader;
    }
    public void setLeader(String leader) {
        this.leader = leader;
    }
    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public Integer getSort() {
        return sort;
    }
    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }

}
